home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Installation Tools & Overlays 2002 November
/
SGI IRIX Installation Tools & Overlays 2002 November - Disc 2.iso
/
relnotes
/
desktop_eoe
/
chA.z
/
chA
Wrap
Text File
|
2002-10-15
|
12KB
|
265 lines
- 1 -
7. _D_e_s_k_t_o_p__S_o_u_n_d_s
This appendix explains how to get IRIX Interactive Desktop
sounds to play correctly, where the soundfiles live, and how
to change the soundfiles. In IRIX 6.5, users do not need
root permission to edit sounds for their login session.
7.1 _G_e_t_t_i_n_g__S_o_u_n_d_s__t_o__P_l_a_y
For sounds to play correctly in the IRIX Interactive
Desktop, three conditions must hold:
+o Soundscheme must be running. To check if SoundScheme is
on, use the cccchhhhkkkkccccoooonnnnffffiiiigggg command. If it is off, activate
it with the ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee command and try cccchhhhkkkkccccoooonnnnffffiiiigggg
again. If it is still off, it may not be installed;
see the SoundScheme release notes to install it.
+o The system must not be muted and the volume must be
sufficiently high. To control this, use the audio
customization panel _a_u_d_i_o_p_a_n_e_l available from Desktop >
Control Audio. On some systems, the user can also
control volume by pressing the buttons on the front of
the workstation.
+o IRIX Interactive Desktop audio feedback must be turned
on, from the Desktop > Customize > Sounds (_d_t_S_o_u_n_d_s)
panel's Desktop Sounds toggle.
Sounds generated by the X Window System (like the shell
beep) usually operate independently of both SoundScheme and
the System & Desktop Sounds panel audio toggle and can not
be turned off via those two mechanisms. Only by turning
down the volume on the audio panel can the user make the X-
generated sounds inaudible, but that will have the added
effect of silencing all IRIX Interactive Desktop sounds.
In IRIX 6.3 and later releases, the user can optionally
redirect the XKB bells through SoundScheme. To enable this,
edit (as root) the SoundScheme resources file or (if not
root) the user's $_H_O_M_E/._X_d_e_f_a_u_l_t_s file and set
****ddddeeeeffffaaaauuuullllttttBBBBeeeellllllllNNNNaaaammmmeeee:::: BBBBeeeeeeeepppp.
Some icon types are programmed to never use the visual
launch effect, or to never use the launch sound (see
_f_t_r(_1)). Namely, none of the device icons uses the visual
- 2 -
launch effect, and none of the sound icons uses the launch
sound. Such icons will never exhibit visual or auditory
launch behavior when they are double-clicked, even when the
Launch Effect toggle is checked on the _d_e_s_k_t_o_p customization
panel or when the Desktop Sounds toggle is checked on the
_d_t_S_o_u_n_d_s customization panel.
7.2 _W_h_e_r_e__D_e_s_k_t_o_p__S_o_u_n_d_s__C_o_m_e__F_r_o_m
The default sound scheme uses percussive sounds. These
sounds play for many file manager operations, including
opening a folder, removing an icon to the dumpster, removing
an icon permanently, copying an icon, moving an icon into a
directory view, and putting away an icon.
The default sound scheme is /_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/
_s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s/_d_e_f_a_u_l_t_S_c_h_e_m_e._s_s and the soundfiles
referenced in that scheme file are in the /_u_s_r/_s_h_a_r_e/_d_a_t_a/
_s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_o_u_n_d_f_i_l_e_s directory. Modifying the
settings in the scheme file will change the desktop sounds
for all users on the machine.
Future IRIX releases may overwrite the scheme and soundfiles
in these directories.
7.3 _C_h_a_n_g_i_n_g__t_h_e__S_o_u_n_d_s
With the IRIX 6.5 ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee product installed, there are
two ways to change IRIX Interactive Desktop sounds: for a
user's own login session, or for all users on the machine.
Users do not require root permission to edit sounds for
their login session.
7.3.1 _C_h_a_n_g_i_n_g__t_h_e__S_o_u_n_d_s__f_o_r__O_n_e__U_s_e_r To edit sounds for
one user's login session, the user can do the following:
+o In the home directory, create a new directory to hold
custom sounds. Rename it as _s_o_u_n_d if desired.
+o Place new soundfiles into the _s_o_u_n_d directory. They
need to be in AIFF-C format, recorded at 44.1kHz
sampling rate, about 0.3 seconds in duration, and
neither too loud nor too soft. See _s_o_u_n_d_e_d_i_t_o_r(_1) for
- 3 -
help editing soundfiles.
+o Open the /_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s
directory. Copy the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file to the
user's _s_o_u_n_d directory. Rename the copy to _m_y._s_s if
desired.
+o Edit the _m_y._s_s file. Refer to the !!!!-denoted
descriptions to decide which sounds to change. To
change a sound, replace the ssssoooouuuunnnnddddffffiiiilllleeee value with the
name of a new soundfile of the user's choice. If
changing only a few sounds, delete the rest of the file
and delete the corresponding sound labels from the
****ssssoooouuuunnnnddddPPPPaaaalllleeeetttttttteeee list at the top of the file.
Here is an example _m_y._s_s file that modifies just the
Warning sound, which plays when any new file is created
on the desktop or in a dirview:
****ssssoooouuuunnnnddddPPPPaaaalllleeeetttttttteeee:::: WWWWaaaarrrrnnnniiiinnnngggg
****WWWWaaaarrrrnnnniiiinnnngggg....ssssoooouuuunnnnddddffffiiiilllleeee:::: ////uuuussssrrrr////ppppeeeeoooopppplllleeee////mmmmeeee////ssssoooouuuunnnndddd////jjjjaaaazzzzzzzz____ttttrrrruuuummmmppppeeeetttt....aaaaiiiiffffcccc
****WWWWaaaarrrrnnnniiiinnnngggg....llllaaaabbbbeeeellll:::: WWWWaaaarrrrnnnniiiinnnngggg
+o In a Unix shell, kill SoundScheme with the kkkkiiiillllllllaaaallllllll
ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee command. Restart SoundScheme with the
ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee ----aaaauuuuxxxx $$$$HHHHOOOOMMMMEEEE////ssssoooouuuunnnndddd////mmmmyyyy....ssssssss &&&& command. This
will cause SoundScheme to read the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s
file then load _m_y._s_s.
After the above procedure, the IRIX Interactive Desktop
should use a combination of system default sounds (for any
sounds not defined in _m_y._s_s) and the user's new sounds. If
the user's new sounds do not play, then the user should
inspect _m_y._s_s for typos and verify that the new soundfile is
in AIFF-C format sampled at 44.1kHz.
The new sounds will remain in effect only until the user
logs out. To keep the sounds across logins, the user needs
to create or edit a $_H_O_M_E/._x_s_e_s_s_i_o_n file as follows:
+o Open the /_v_a_r/_X_1_1/_x_d_m directory and copy the
_X_s_e_s_s_i_o_n._d_t file to the user's home directory, if one
does not already exist. The copy mmmmuuuusssstttt be renamed to
._x_s_e_s_s_i_o_n before proceeding.
- 4 -
+o Edit the ._x_s_e_s_s_i_o_n file. Search for the section that's
marked "BEGIN SOUNDSCHEME MODIFICATIONS." Change the
line
////uuuussssrrrr////ssssbbbbiiiinnnn////ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee >>>>////ddddeeeevvvv////ccccoooonnnnssssoooolllleeee 2222>>>>&&&&1111 &&&&
to the following:
////uuuussssrrrr////ssssbbbbiiiinnnn////ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee ----aaaauuuuxxxx $$$$HHHHOOOOMMMMEEEE////ssssoooouuuunnnndddd////mmmmyyyy....ssssssss >>>>////ddddeeeevvvv////ccccoooonnnnssssoooolllleeee 2222>>>>&&&&1111 &&&&
Save the file, then log out and log back in.
With the ._x_s_e_s_s_i_o_n modifications, the user's custom sounds
will be restored each time the user logs in. If the user's
new sounds do not play, then there may be a typo in the
._x_s_e_s_s_i_o_n file that the user should fix.
Caution: Changes to the ._x_s_e_s_s_i_o_n file should be made with
care, as errors can prevent the user from logging in at the
console. When the user logs in, ._x_s_e_s_s_i_o_n will run instead
of the system default /_v_a_r/_X_1_1/_x_d_m/_X_s_e_s_s_i_o_n._d_t script. It's
up to users to remember that they have a ._x_s_e_s_s_i_o_n file.
7.3.2 _C_h_a_n_g_i_n_g__t_h_e__S_o_u_n_d_s__f_o_r__A_l_l__U_s_e_r_s To change a sound
for all users on the machine, do the following:
+o Become root, then change directory to
/_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s.
+o Copy _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s to _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s._b_a_k as a
backup, to make it easy to revert to the original
scheme if needed.
+o Place a new soundfile into the aforementioned
_s_o_u_n_d_f_i_l_e_s directory, if it's not already there.
+o Edit the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file, and change the
appropriate ....ssssoooouuuunnnnddddffffiiiilllleeee name to be the filename of the
new soundfile.
+o In a Unix shell, kill and restart SoundScheme with the
kkkkiiiillllllllaaaallllllll ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee and ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee &&&& commands,
respectively, or by logging out and logging back in.
After the above procedure, whenever a user logs into the
system, the IRIX Interactive Desktop will use the new sounds
defined in the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file. If the new sounds do
not play, then the root user should inspect the
_d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file for typos, and verify that all new
soundfiles are in AIFF-C format sampled at 44.1kHz.